package com.xxxx.spring.day07;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Slf4j
@Aspect
public class MyAspect {

    @Before("execution(* com.xxxx.spring.day07.MyService.foo())")
    public void before(){
        log.info("before");
    }
}
